home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / src / WBBump_src.lha / WBBump_src / plugin_const.e < prev    next >
Encoding:
Text File  |  1999-06-30  |  2.5 KB  |  93 lines

  1. /* ************** */
  2. /* plugin_const.e */
  3. /* ************** */
  4.  
  5.  
  6.  
  7. /*
  8.     WBBump - Bumpmapping on the Workbench!
  9.  
  10.     Copyright (C) 1999  Thomas Jensen - dm98411@edb.tietgen.dk
  11.  
  12.     This program is free software; you can redistribute it and/or modify
  13.     it under the terms of the GNU General Public License as published by
  14.     the Free Software Foundation; either version 2 of the License, or
  15.     (at your option) any later version.
  16.  
  17.     This program is distributed in the hope that it will be useful,
  18.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  19.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20.     GNU General Public License for more details.
  21.  
  22.     You should have received a copy of the GNU General Public License
  23.     along with this program; if not, write to the Free Software Foundation,
  24.     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  25. */
  26.  
  27. /*
  28.     constant definitions for plugins, Tags, etc.
  29. */
  30.  
  31.  
  32. OPT MODULE
  33.  
  34.  
  35. OPT EXPORT
  36.  
  37.  
  38. MODULE    'utility/tagitem'
  39.  
  40.  
  41. EXPORT CONST    PLUGINTYPE_BUMPER=%00000001
  42.  
  43. /* this is the tags that plugin versions 1.x must understand */
  44. /* [ISGA] = Init, Set, Get, Action */
  45.                 /* width and height of bumpmap buffer */
  46. EXPORT CONST    PLUGINTAG_WIDTH            =    TAG_USER+0,        -> [I G ]
  47.                 PLUGINTAG_HEIGHT        =    TAG_USER+1,        -> [I G ]
  48.  
  49.                 /* ReadArgs() like argument string to plugin */
  50.                 PLUGINTAG_ARGS            =    TAG_USER+2,        -> [I   ]
  51.  
  52.  
  53.                 /* Plugin type, for now only PLUGINTYPE_BUMPER is defined */
  54.                 PLUGINTAG_TYPE            =    TAG_USER+3,        -> [  G ]
  55.  
  56.  
  57.                 /* Is this a plugin that modifies an existing buffer? */
  58.                 /* if ISMODIFIER is FALSE, inbuf will be a NULL pointer */
  59.                 PLUGINTAG_ISMODIFIER    =    TAG_USER+4,        -> [  G ]
  60.  
  61.  
  62.                 /* The tooltype that this plugin should respond to */
  63.                 PLUGINTAG_COMMANDNAME    =    TAG_USER+5,        -> [  G ]
  64.  
  65.                 /* the name of the plugin */
  66.                 PLUGINTAG_NAME            =    TAG_USER+6,        -> [  G ]
  67.  
  68.                 /* copright information */
  69.                 PLUGINTAG_COPYRIGHT        =    TAG_USER+7,        -> [  G ]
  70.  
  71.                 /* Author name / email */
  72.                 PLUGINTAG_AUTHOR        =    TAG_USER+8,        -> [  G ]
  73.  
  74.                 /* description of plugin */
  75.                 PLUGINTAG_DESC            =    TAG_USER+9,        -> [  G ]
  76.  
  77.                 /* is the plugin static? */
  78.                 /* ie. is the output the same if the input is? */
  79.                 /* example: a clock is not static, a blur rutine is */
  80.                 PLUGINTAG_ISSTATIC        =    TAG_USER+10,    -> [  G ]
  81.  
  82.                 /* only for non-static plugins: */
  83.                 /* does the plugin need update now? */
  84.                 PLUGINTAG_NEEDUPDATE    =    TAG_USER+11,    -> [  G ]
  85.  
  86.                 /* does the plugin need update now? */
  87.                 PLUGINTAG_LASTERROR        =    TAG_USER+12        -> [  G ]
  88.  
  89.  
  90.  
  91.  
  92.  
  93.